import {Component,render} from './toy-react.js'


class MyComponent extends Component{
   render(){
       return <div>
           <h1>111</h1>
           {this.children}
       </div>
   }
}

render(<MyComponent id="a" class="class">
    <div>123</div>
</MyComponent>,document.body);